<style>
    #searchbar {
        position: absolute;
        top: 50px;
        right: 50px;

    }
    section {
        position: relative;
    }
</style>
<body>
<h1>欢迎！</h1>
<section>
    <form id="searchbar">
        <label for="search">搜索：</label>
        <input type="search" id="search" name="search">
        <input type="submit" name="submit" value="Go!">
    </form>
</section>
</body>